package com.qf.day07.poly.tuxing;

public class TuXing {
    private String name;
    public double zc(){

        System.out.println("计算图形的周长");
        return -1;
    }

    public void area(){
        System.out.println("计算图形的面积");
    }

    public TuXing() {
    }

    public TuXing(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
